setInstanceVariant

abstract fun setInstanceVariant(instance: DesignBlock, name: String, value: String)

Switches an instance to the variant with this property value. Overrides stay, and layers match by name.

Parameters

instance

the instance.

name

the name.

value

the value.